package com.cinc.mdm.modules.workCenter.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cinc.mdm.modules.workCenter.entity.MdmWorkCenter;
import com.cinc.mdm.modules.workCenter.model.MdmWorkCenterTreeModel;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description: 工作中心
 * @Author: jeecg-boot
 * @Date:   2021-12-26
 * @Version: V1.0
 */
public interface MdmWorkCenterMapper extends BaseMapper<MdmWorkCenter> {

    List<MdmWorkCenterTreeModel> selectTreeTopList();
    List<MdmWorkCenterTreeModel> selectTreeList(MdmWorkCenter mdmWorkCenter);

    List<MdmWorkCenterTreeModel> selectTreeListByPidList(@Param("pidList")List<String> pidList);
}
